const db = require('../db/db')
// 引入逻辑层
const {getUsers, deluser, identity } = require('../service/usersManage.service')
module.exports = {
    // 获取用户表
    getUsers: async (ctx, next)=> {
        await getUsers(ctx)
    },
    // 禁用用户
    deluser: async (ctx, next)=> {
        await deluser(ctx)
    },
    // 修改身份
    identity:async (ctx, next)=>{
        await identity(ctx)
    }
}